import request from '@/router/axios';

// 列表查询
export const apiList = (current, size,params) => {
  return request({
    url: '/api/rb-oem/oem/mall/mallApi/deliverList',
    method: 'get',
    params: {
      current,
      size,
      ...params
    }
  })
}

/* 导出 */
export const apiExport = (params) => {
  return request({
    headers: {
      "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
    },
    responseType: 'blob',
    url: '/api/rb-oem/oem/mall/mallApi/deliverListExport',
    method: 'get',
    params
  })
}


/* 详情 */
export const apiDetail = (params) => {
  return request({
    url: '/api/rb-oem/oem/mall/mallApi/queryMasterOrderInfo',
    method: 'get',
    params
  })
}
